<route lang="json">
{
  "meta": {
    "title": "t('sheQu')"
  }
}
</route>
<script setup lang="ts" name="community">
import { _require } from "@@/utils/tools";
import { fixedDecimals, omitText } from "@@/utils/tools/format";
import dayjs from "dayjs";
import { apiCommunityList } from "@@/api/transaction/list";
</script>

<template>
  <CpageView>
    <CrequestList :api="apiCommunityList">
      <template #item="{ item }">
        <Ccard bg="var(--C-M1-O1)" class="clip-path-1 Prow-xxl MT-md">
          <div class="auto-MT-xs">
            <div class="flex-A-C">
              <Rimage
                size="100rem"
                :src="_require('src/assets/images/mini/2.png')"
              />
              <div class="level-number">{{ item.level }}</div>
              <h1 class="ML-auto">{{ item.id }}</h1>
            </div>
            <div class="C-M1-1">
              {{ dayjs(item.created_at).format("YYYY/MM/DD HH:mm:ss") }}
            </div>
            <CcopyText :copy-text="item.address" class="C-T3">
              {{ item.address }}
            </CcopyText>
          </div>
        </Ccard>
      </template></CrequestList
    >
  </CpageView>
</template>

<style lang="scss" scoped></style>
